// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import MintUI from 'mint-ui'
import Mui from 'vue-awesome-mui';
import echarts from 'echarts'
import 'babel-polyfill'
import Es6Promise from 'es6-promise'
// import Axios from 'axios'

import global from './global'

import 'mint-ui/lib/style.css'
import './assets/css/my_mint.css'

import Vant from 'vant';
import 'vant/lib/index.css';
import VueJsonp from 'vue-jsonp'

Vue.use(Vant);
Vue.use(VueJsonp)
Es6Promise.polyfill()

Vue.prototype.$echarts = echarts
Vue.prototype.global = global

// Vue.prototype.$axios = Axios
// Axios.defaults.baseURL = '/api'
// Axios.defaults.headers.post['Content-Type'] = 'application/json';



Vue.use(MintUI)
Vue.use(Mui);
// import $ from 'jquery'



Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {App},
  template: '<App/>'
})

